package tech.com.commoncore.constant;

/**
 * Anthor:HeChuan
 * Time:2018/11/5
 * Desc:
 */
public class ApiConstant {


    //host-->
    public static final String BASE_URL = "http://data.yingju8.com/";
    //资讯类-分类资讯列表  无分页
    public static final String ARTICLE_LIST = "/yapi/article/alist";
    //资讯类-分类资讯列表  有分页
    //http://data.yingju8.com/yapi/article/alistpage/?category=18&page=1
    public static final String ARTICLE_LIST_PAGE = "yapi/article/alistpage";


    //期货所有的类别数据.
    public static final String ALL_CATEGORY = "yapi/exchange/category_all";

    //财经日历搜索 ,参数 ?year=2018&monthday=0903
    public static final String CJRL = "yapi/index/cjrl";

    //获取期货列表,国内期货列表
//    http://data.yingju8.com/yapi/exchange/lists?type=sh&list=SC0,HC0
    public static final String GET_FUTURE_LIST = "yapi/exchange/lists";

    //国际期货数据分类.
//    http://data.yingju8.com/yapi/Foreign/futures_list ? symbol=BP,CD&&type=1 (这里的类型不能同时存在多个 ，只能是单个类型,1 外汇期货 2贵金属 3工业品 4农产品 5能源 6全球股指期货)
    public static final String GET_FOREIGN_FUTURE_LIST = "yapi/Foreign/futures_list";

    //期货详情,WEBVIEW页面  + ?symbol
    public static final String GET_FUTURE_DETAIL = "http://stock.yingju8.com/home/charts";

    //获取财经事件(快讯)
    public static final String GET_CJ_EVENT = "yapi/index/cjevent";

    //日 k线图
    public static final String DATE_K_LINE = "yapi/exchange/date_k_line";
    //分时 k线图
    public static final String MINI_K_LINE = "yapi/exchange/mini_k_line";
    //5 15 30 60分钟 k线图
    public static final String NUM_K_LINE = "yapi/exchange/num_k_line";
    //幻灯片
    public static final String INDEX = "yapi/slide/index";

}
